package com.yzk.train.business.response;

import com.alibaba.fastjson2.JSONWriter;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class DailyTrainCarriageQueryResp {

    // id
    @JSONField(serializeFeatures = JSONWriter.Feature.BrowserCompatible)
    private Long id;
    // 日期
    @JSONField(format = "yyyy-MM-dd")
    private Date date;
    // 车次编号
    private String trainCode;
    // 箱序
    private Integer index;
    // 座位类型|枚举[SeatTypeEnum]
    private String seatType;
    // 座位数
    private Integer seatCount;
    // 排数
    private Integer rowCount;
    // 列数
    private Integer colCount;

}
